package com.xh.lesson.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 柴&许
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysHouse implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 房屋名称
     */
    private String housename;

    /**
     * 房屋面积
     */
    private Float floorspace;

    /**
     * 区域
     */
    private String area;

    /**
     * 楼层数
     */
    private String level;
    @TableLogic
    private Integer deleted;

    @TableId(value = "houserid", type = IdType.AUTO)
    private Integer houserid;


}
